<template>
	<view>
		<view class="mainpadding xiahuaxian ffffff flexleft" style="align-items: flex-start;" v-for="item in list" :key="item.id" @click="jumpdetail('/pages/index/shangpinxq?id=',item.valueId)">
			<image :src="item.picUrl" class="leftListimg margin_right3" mode=""></image>
			<view class="">
				<view class="xiankuan xiaohei titletext">{{item.name}}</view>
				<view class="xiaohei margin_top titletext">￥{{item.retailPrice}}</view>
			</view>
			
		</view>
	</view>
</template>

<script>
	const httpRequest = require("@/common/httpRequest.js")
	export default {
		data() {
			return {
				list:[],
			}
		},
		onLoad() {
			this.init()
		},
		methods: {
			init() {
				httpRequest.request('/wx/collect/list', 'GET', {
					page: 1,
					size: 1000,
					type:0
				}).then(res => {
					this.list = res.data.collectList
				})
			},
		}
	}
</script>

<style>

</style>
